CREATE TABLE [dbo].[DISC_DRMStampConfig]
(
[ID] [int] NOT NULL IDENTITY(1, 1),
[distID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[permID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DRMType] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[config] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[DISC_DRMStampConfig] ADD CONSTRAINT [PK_DISC_DRMStampConfigs] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DISC_DRMStampConfig_distID_permID] ON [dbo].[DISC_DRMStampConfig] ([distID], [permID]) ON [PRIMARY]
GO
